class Team < ActiveRecord::Base

  has_many :users,
           :dependent => :nullify

  validates_presence_of     :name
  validates_length_of       :name,     :within => 2..100
  validates_uniqueness_of   :name

end
